package com.woniuxy.propertyjava.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;
@Data
@NoArgsConstructor
@AllArgsConstructor

/**
 * (Visitor)实体类
 *
 * @author makejava
 * @since 2022-07-02 14:54:32
 */
public class Visitor implements Serializable {
    private static final long serialVersionUID = -92422301686638569L;
    
    private Integer id;
    
    private String visitorname;
    
    private String visitorphone;
    
    private String visitorcard;
    
    private Integer riid;
    
    private String visitorreason;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date visitorintime;
    private  Holdinformation1 holdinformation1;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getVisitorname() {
        return visitorname;
    }

    public void setVisitorname(String visitorname) {
        this.visitorname = visitorname;
    }

    public String getVisitorphone() {
        return visitorphone;
    }

    public void setVisitorphone(String visitorphone) {
        this.visitorphone = visitorphone;
    }

    public String getVisitorcard() {
        return visitorcard;
    }

    public void setVisitorcard(String visitorcard) {
        this.visitorcard = visitorcard;
    }

    public Integer getRiid() {
        return riid;
    }

    public void setRiid(Integer riid) {
        this.riid = riid;
    }

    public String getVisitorreason() {
        return visitorreason;
    }

    public void setVisitorreason(String visitorreason) {
        this.visitorreason = visitorreason;
    }

    public Date getVisitorintime() {
        return visitorintime;
    }

    public void setVisitorintime(Date visitorintime) {
        this.visitorintime = visitorintime;
    }

}

